package com.example.controller;

import com.example.myredis.service.MyRedisService;
import com.example.vo.resp.Result;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "测试starter")
@RestController
public class StarterTestController {

    @Autowired
    MyRedisService myRedisService;

    @GetMapping("/testStarter")
    public Result testStarter() {
        myRedisService.test("1", "2");
        return Result.SUCCESS();
    }
}
